package com.njxzc.demo.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njxzc.demo.common.http.ResponseResult;
import com.njxzc.demo.entity.GoodsTypeEntity;

import java.util.List;
import java.util.Map;

public interface GoodsTypeService extends IService<GoodsTypeEntity> {
    ResponseResult<Map<String, Object>> add(GoodsTypeEntity goodsTypeEntity);

    ResponseResult<Map<String, Object>> update(GoodsTypeEntity goodsTypeEntity);

    ResponseResult<Map<String, Object>> delete(GoodsTypeEntity goodsTypeEntity);

    ResponseResult<Map<String, Object>> getGoodsType(GoodsTypeEntity goodsTypeEntity);
}
